package org.wdcode.back.helper;

import org.wdcode.back.po.Logs;
import org.wdcode.base.helper.BaseEntityHelper;

/**
 * 日志助手类
 * @author WD
 * @since JDK6
 * @version 1.0 2009-11-23
 */
public final class LogsHelper extends BaseEntityHelper<Logs> {
	// 助手类
	private static LogsHelper	helper;

	/**
	 * 获得子类的Class
	 * @return 子类的Class
	 */
	public Class<Logs> getEntityClass() {
		return Logs.class;
	}

	/**
	 * 实例化一个新的实体对象
	 * @return 实体对象
	 */
	public Logs newInstance() {
		return new Logs();
	}

	/**
	 * 获得助手类
	 * @return 助手类
	 */
	public static LogsHelper getHelper() {
		return helper;
	}

	/**
	 * 设置助手类
	 * @param helper 助手类
	 */
	public void setHelper(LogsHelper helper) {
		LogsHelper.helper = helper;
	}
}
